#ifndef SELECTFORMATWIZARD_H
#define SELECTFORMATWIZARD_H

#include <QWizardPage>
#include <encoderoption.h>
#include <encoderinterface.h>
#include <QList>
#include <QWidget>

namespace Ui {
    class SelectCodecWizardPage;
}

class SelectCodecWizardPage : public QWizardPage
{
    Q_OBJECT

public:
    explicit SelectCodecWizardPage(QWidget *parent = 0);
    ~SelectCodecWizardPage();

private:
    Ui::SelectCodecWizardPage *ui;
    EncoderOption *m_option;

    QHash <QString,QWidget *> m_configWidgets;

    void showEncoderConfigWidget( const QString & key = "");
    void setupEncoderList();

private slots:
    void on_cbEncoderList_currentIndexChanged(int index);
};

#endif // SELECTFORMATWIZARD_H
